package com.wanmait.happyheating.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "config")
public class Config implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 配置的项目/比如工作开始结束时间/时间间隔/x时间/默认好评文本
     */
    @TableField(value = "title")
    private String title;

    /**
     * 值
     */
    @TableField(value = "value")
    private String value;

    /**
     * 默认值
     */
    @TableField(value = "default_value")
    private String defaultValue;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    private static final long serialVersionUID = 1L;

    public static final String COL_TITLE = "title";

    public static final String COL_VALUE = "value";

    public static final String COL_DEFAULT_VALUE = "default_value";

    public static final String COL_DISCRIPTION = "discription";
}